<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<base href='<?php echo base_url()?>'>
<link rel="stylesheet" type="text/css" href="public/common/css/common.css"/>
<link rel="stylesheet" type="text/css" href="public/admin/css/admin.css"/>
<script src="public/common/js/jquery.js"></script>
</head>
<body>
	<div id="kefu_index">
  		<div class="main_top"><div class="position left">当前位置 <span>&gt;</span> 设置 <span>&gt;</span> 客服设置 <span>&gt;</span> 管理客服 </div></div>
        <div class="go_back"><a href="javascript:history.back()">返回</a></div>
    	<div class="kefu_index_center">
         <form action="<?php echo site_url('admin/kefu/update_kefu/'.$kefu_user->user_id)?>" method="post">
        	<table class="table">
            	<tr><th>参数名</th><th>参数值</th><th>参数说明</th></tr>
                <tr><td class="right">客服名称：</td><td><input type="text" class="input_txt" name="user_name" value="<?php echo $kefu_user->user_name?>"></td><td><span class="red">*</span> </td></tr>
                <tr><td class="right">客服类型：</td><td>
                <select name="user_type">
                	<option value="0">请选择客服类型</option>
                	<?php foreach($kefu_type->result() as $value):?>
                    <option value="<?php echo $value->type_id?>" <?php if($value->type_id == $kefu_user->user_type):?>selected<?php endif?>><?php echo $value->type_name?></option>
                    <?php endforeach;?>
                </select>
                </td><td><span class="red">*</span> </td></tr>
                <tr><td class="right">客服号码：</td><td><input type="text" class="input_txt" name="user_number" value="<?php echo $kefu_user->user_number?>"></td><td><span class="red">*</span> </td></tr>
                <tr><td class="right">客服排序：</td><td><input type="text" name="user_sort" value="<?php echo $kefu_user->user_sort?>"></td><td><span class="red">*</span> </td></tr>
                <tr><td class="right">客服状态：</td><td><input type="radio" name="user_status" value="1" <?php if($kefu_user->user_status == '1'):?>checked<?php endif;?>/>开启 <input type="radio" name="user_status" value="0" <?php if($kefu_user->user_status == '0'):?>checked<?php endif;?>/>关闭</td><td><span class="red">*</span> </td></tr>
                 <tr><td align="center" colspan="2"><input type="submit" class="submit" value="提交" /> &nbsp;&nbsp;<input type="reset" class="reset" value="重置" /></td><td>&nbsp;</td></tr>
            </table>
            </form>
        </div>
    </div>
</body>
</html>